﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FazaDemo.Data;

namespace FazaDemo.BL.DataAccess
{
    public class TsRayonRepository : IInfoEntityRepository
    {

        private readonly IRepository<TS_RAYON, int> _repository;

        public TsRayonRepository()
        {
            _repository = new EntityRepository<TS_RAYON, int>();
        }

        public IList<SuppleInfoEntity> GetAll()
        {
            return _repository.GetAll() as IList<SuppleInfoEntity>;
        }

        public IList<SuppleInfoEntity> FindWhere(Func<SuppleInfoEntity, bool> predicate)
        {
            return null;
        }

    }
}
